package com.zhiyou100.pojo;

import java.io.Serializable;

public class Privilege implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer p_id;
    private String p_name;
    private String p_url;
    private String p_desc;

    public Privilege() {
    }

    public Privilege(Integer p_id, String p_name, String p_url, String p_desc) {
        this.p_id = p_id;
        this.p_name = p_name;
        this.p_url = p_url;
        this.p_desc = p_desc;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getP_id() {
        return p_id;
    }

    public void setP_id(Integer p_id) {
        this.p_id = p_id;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public String getP_url() {
        return p_url;
    }

    public void setP_url(String p_url) {
        this.p_url = p_url;
    }

    public String getP_desc() {
        return p_desc;
    }

    public void setP_desc(String p_desc) {
        this.p_desc = p_desc;
    }

    @Override
    public String toString() {
        return "Privilege{" +
                "p_id=" + p_id +
                ", p_name='" + p_name + '\'' +
                ", p_url='" + p_url + '\'' +
                ", p_desc='" + p_desc + '\'' +
                '}';
    }
}
